/** bolaclient.h - Cliente do jogo **/
#ifndef __BOLACLIENT_H__
#define __BOLACLIENT_H__

#include "bola.h"

/* Wrappers para as funções RPC */
int addplayer(player * p);

int rmplayer(player * p);

int joinroom(int num, player * p);

int rmroom(int num);

int createroom(char *room_name, player * p);

int makeshot(float force, float angle, int room_id);

int waitshot(int shot_num, int room_id);

float waitshotforce(int room_id);

float waitshotangle(int room_id);

/* funções auxiliares */
void inc_score(player * p);


#endif
